package grape.auth.rest.auth2;

import grape.base.service.user.dto.UserCreateParam;
import grape.base.service.user.dto.UserThirdCreateParam;
import grape.common.rest.mvc.BaseWebMapper;
import grape.wx.service.mp.user.po.MpUser;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

/**
 * Created by yangwei
 * Created at 2020/9/2 16:32
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface Auth2Mapper extends BaseWebMapper {

    UserThirdCreateParam map(MpUser mpUser);
}
